﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MethodWorx.CMS.Configuration;

namespace MethodWorx.CMS.Plugins.Configuration
{
    public class PlainTextPropertyConfiguration : IPropertyConfiguration
    {
        #region IPropertyConfiguration Members

        public Type GetDetailsType()
        {
            return typeof(PlainTextPropertyDetails);
        }

        public string Name
        {
            get { return "Plain Text"; }
        }

        #endregion

        public AssemblyResourceReference GetPropertyEditorControl()
        {
            return new AssemblyResourceReference(this.GetType().Assembly, "Views/PlainTextPropertyEditor.ascx");
        }

        public AssemblyResourceReference GetPropertyControl()
        {
            return new AssemblyResourceReference(this.GetType().Assembly, "Views/PlainTextProperty.ascx");
        }
    }
}
